package com.isdepci.project.carbon.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 绿证-售方挂牌情况对象 green_certificates_seller
 *
 * @author isdepci
 * @date 2025-05-28
 */
public class GreenCertificatesSeller extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 售方名称 */
    @Excel(name = "售方名称")
    private String sellerName;

    /** 绿证数量(个) */
    @Excel(name = "绿证数量(个)")
    private Long greenCertificatesNum;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSellerName(String sellerName)
    {
        this.sellerName = sellerName;
    }

    public String getSellerName()
    {
        return sellerName;
    }
    public void setGreenCertificatesNum(Long greenCertificatesNum)
    {
        this.greenCertificatesNum = greenCertificatesNum;
    }

    public Long getGreenCertificatesNum()
    {
        return greenCertificatesNum;
    }
    public void setReleaseTime(Date releaseTime)
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime()
    {
        return releaseTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sellerName", getSellerName())
            .append("greenCertificatesNum", getGreenCertificatesNum())
            .append("releaseTime", getReleaseTime())
            .toString();
    }
}
